//=============================================================================

#ifndef ARENDERSTATIC_H
  #define ARENDERSTATIC_H

//=============================================================================

#include <afxwin.h>

//=============================================================================

class aRenderStatic : public CStatic
{
  public:
    aRenderStatic();
    void arSetWnd(HWND);
    void OnLButtonDown(UINT flags, CPoint point);
    void OnLButtonUp(UINT flags, CPoint point);
    void OnMouseMove(UINT flags, CPoint point);
    void OnRButtonDown(UINT flags, CPoint point);
    void OnRButtonUp(UINT flags, CPoint point);
    void OnMButtonDown(UINT flags, CPoint point);
    void OnMButtonUp(UINT flags, CPoint point);
    BOOL OnMouseWheel(UINT flags, short zDelta, CPoint pt);

  protected:
    DECLARE_MESSAGE_MAP();

  private:
    HWND ownedWnd;
};

//=============================================================================

#endif

//=============================================================================
